


/**
 * created on 2012-05-20
 * @author  qiujz
 * @version 1.0
 *
 * Copyright (c)  Founder Software (Suzhou) Co., Ltd.  2012
 *  All rights reserved.
 *
 * 
 * ================================================================
 * Change Revision
 * ---------------------------------------------------------------
 *    DATE                BY                   COMMENT
 * ---------------------------------------------------------------
 * 2012-05-20         qiujz                Create class
 * 
 *
 * ================================================================
 */

package com.qjz.service;

import java.util.List;

import javax.jws.WebService;

import com.founder.mh.framework.entity.QueryResultBase;
import com.qjz.entity.FunctionOpenQueryParameter;
import com.qjz.entity.FunctionOpenTo;

@WebService
public interface IFunctionOpenService {
	/**
	 * 查询方法
	 * 
	 * @param paramter
	 *            查询参数对象
	 * @return 查询结果集
	 */
	QueryResultBase searchFunctionOpenList(FunctionOpenQueryParameter paramter);
	
	
	/**
	 * @param foid
	 *        	记录ID
	 * @return 实体对象
	 */
	FunctionOpenTo getFunctionOpenByPrimaryKey(int foid);
	
		
	/**
	 * @param functionOpen
	 *           实体对象
	 * @return 插入记录数
	 */
	FunctionOpenTo insertFunctionOpen(FunctionOpenTo functionOpen);
	
	/**
	 * @param functionOpen
	 *           实体对象
	 * @return 更新记录数
	 */
	int updateFunctionOpen(FunctionOpenTo functionOpen);
	
	
	/**
	 * @param foid
	 *         记录ID
	 * @return 删除记录数
	 */
	int deleteFunctionOpen(int foid);
	
	/**
	 * @param keyArray
	 *         记录ID数组
	 */
	void deleteFunctionOpenBatch(int[] keyArray);
	
	void submitFuncOpen(List<FunctionOpenTo> list);
}
